package com.iris.dubbo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Hello world!
 *
 */
@SpringBootApplication
@RestController
public class ConsumerMain
{
    public static void main(String[] args) {
        SpringApplication.run(ConsumerMain.class, args);
    }
    @RequestMapping("/")
    public String hello(){
        return "Hello world!";
    }
}
